//
//  HOTGenbaMainViewController.m
//  Genpara
//
//  Created by AndyChang.zhang on 14-10-9.
//  Copyright (c) 2014年 zhangchh. All rights reserved.
//

#import "HOTGenbaMainViewController.h"
#import "HOTFreeEntryViewController.h"
#import "HOTGenbakakikomiEntryViewController.h"

@interface HOTGenbaMainViewController ()

@end

@implementation HOTGenbaMainViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    [self setNaviTitle:@"現場の貸し借り"];
    
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)publishFreeBtnClicked:(id)sender {
    
    HOTGenbakakikomiEntryViewController *cfivc = [[HOTGenbakakikomiEntryViewController alloc] initWithNibName:@"HOTGenbakakikomiEntryViewController" bundle:nil];
    
    [self.navigationController pushViewController:cfivc animated:YES];
}

- (IBAction)freeBtnClicked:(id)sender {
    
    HOTFreeEntryViewController *freeListVc = [[HOTFreeEntryViewController alloc] initWithNibName:@"HOTFreeEntryViewController" bundle:nil];
    
    [self.navigationController pushViewController:freeListVc animated:YES];
}
@end
